<template>
  <div>
    <el-card class="box-card">
      <div slot="header" class="clearfix">
        <span>用户信息</span>
      </div>
      <div class="text item">
        <el-form ref="form" :model="form" label-width="80px">
          <el-form-item label="编号">9527</el-form-item>

          <el-form-item label="用户名">admin <el-button type="text" style="margin-left:10px">修改</el-button></el-form-item>

          <el-form-item label="手机">
            <el-input v-model="form.name"></el-input>
          </el-form-item>

          <el-form-item label="邮箱">
            <el-input v-model="form.name"></el-input>
          </el-form-item>

          <el-form-item label="介绍">
            <el-input type="textarea" v-model="form.desc"></el-input>
          </el-form-item>
          <el-form-item>
            <el-button type="primary" @click="onSubmit">保存</el-button>
          </el-form-item>
        </el-form>
      </div>
    </el-card>
  </div>
</template>

<script>
export default {
  data() {
    return {
      form: {
        name: "",
        region: "",
        date1: "",
        date2: "",
        delivery: false,
        type: [],
        resource: "",
        desc: "",
      },
    };
  },
  methods: {
    onSubmit() {
      console.log("submit!");
    },
  },
};
</script>

<style>
</style>